package com.hex.ds.hdrs.warn.po;

import lombok.Data;

/**
 * @Package: com.hex.ds.hdrs.warn.po
 * @ClassName WarnSendMethod
 * @Description: 告警方式表
 * @Author: ji.tang
 * @Date 2022/4/26 15:53
 * @Version v1.0
 **/
@Data
public class WarnSendMethod {
    private String pkId;
    private String warnType;
    private String sendTime;
    private String sendStatus;
    private String toAddr;
    private String ccAddr;
    private String bccAddr;
    private String attachmentPath;
    private String subject;
    private String crtUser;
    private String crtTs;
    private String upUser;
    private String upTs;
    private String warnConId;
    private String isHtml;


    public WarnSendMethod(String pkId, String warnType, String sendStatus, String toAddr, String crtTs, String upTs, String warnConId) {
        this.pkId = pkId;
        this.warnType = warnType;
        this.sendStatus = sendStatus;
        this.toAddr = toAddr;
        this.crtTs = crtTs;
        this.upTs = upTs;
        this.warnConId = warnConId;
    }

    /**
     * 构造对象 全部属性
     */
    public WarnSendMethod(String pkId, String warnType, String sendTime, String sendStatus, String toAddr, String ccAddr, String bccAddr, String attachmentPath, String subject, String crtUser, String crtTs, String upUser, String upTs, String warnConId, String isHtml) {
        this.pkId = pkId;
        this.warnType = warnType;
        this.sendTime = sendTime;
        this.sendStatus = sendStatus;
        this.toAddr = toAddr;
        this.ccAddr = ccAddr;
        this.bccAddr = bccAddr;
        this.attachmentPath = attachmentPath;
        this.subject = subject;
        this.crtUser = crtUser;
        this.crtTs = crtTs;
        this.upUser = upUser;
        this.upTs = upTs;
        this.warnConId = warnConId;
        this.isHtml = isHtml;
    }

    public WarnSendMethod(String pkId,String sendTime,String sendStatus,String upUser,String upTs){
        this.pkId = pkId;
        this.sendTime = sendTime;
        this.sendStatus = sendStatus;
        this.upUser = upUser;
        this.upTs = upTs;
    }

    public WarnSendMethod() {

    }

}
